package com.stone.framework.message.user;

import java.util.List;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;

public class PermissionReqBody {

    @ApiModelProperty(value = "角色ID", required = true)
    @NotNull(message = "[roleId] {title.notNull}")
    private Long roleId;

    @ApiModelProperty(value = "资源ID集合", required = true)
    @NotNull(message = "resourceIds {title.notNull}")
    private List<Long> resourceIds;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public List<Long> getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(List<Long> resourceIds) {
        this.resourceIds = resourceIds;
    }

}
